package com.tony;

import java.util.Arrays;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class User {

    private int age;
    private String name;
    private Address address;
    private Map<String, String> skills;
    private Set<String> Hobbies;
    private String[] books;
    private String glasses;
    private Properties info;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Map<String, String> getSkills() {
        return skills;
    }

    public void setSkills(Map<String, String> skills) {
        this.skills = skills;
    }

    public Set<String> getHobbies() {
        return Hobbies;
    }

    public void setHobbies(Set<String> hobbies) {
        Hobbies = hobbies;
    }

    public String[] getBooks() {
        return books;
    }

    public void setBooks(String[] books) {
        this.books = books;
    }

    public String getGlasses() {
        return glasses;
    }

    public void setGlasses(String glasses) {
        this.glasses = glasses;
    }

    public Properties getInfo() {
        return info;
    }

    public void setInfo(Properties info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "com.tony.User{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", address=" + address +
                ", skills=" + skills +
                ", Hobbies=" + Hobbies +
                ", books=" + Arrays.toString(books) +
                ", glasses='" + glasses + '\'' +
                ", info=" + info +
                '}';
    }
}
